<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>预订客户信息添加</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<link href="css/css-main.css" rel="stylesheet" type="text/css" />
	<link rel="stylesheet" href="css/validation/validationEngine.jquery.css" type="text/css"/>
    <link rel="stylesheet" href="css/validation/template.css" type="text/css"/>
    <script type="text/javascript" src="js/jquery.min.js"></script>
    <script src="js/validation/languages/jquery.validationEngine-zh_CN.js" ></script>
    <script src="js/validation/jquery.validationEngine.js" ></script>
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
    <script>
		jQuery(document).ready(function(){
			// binds form submission and fields to the validation engine
			jQuery("#formId").validationEngine({
			promptPosition: "centerRight"});
		
 });
	

</script>
  </head>
  
  <body>
    <div class="main-con"> 
  
  <!--//导航位置层-->
  
      <div class="main-bar"><span class="bar-position">当前位置：<a href="#">客户预订管理</a> &gt;&gt; 客户预订下单&gt;&gt;客户信息</span></div>
      
      <div class="cont_right_cont">
      <form id="formId" action="cms/bookinfo/toAdd.do" method="post">
        <h2>客户预订</h2>
        <fieldset>
          <legend>客户信息</legend>
          <div>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr >
                <td  align="right">预订方式：</td>
                <td nowrap>
                   <select id="orderById" name="bookOrderInfo.orderByInfo.innerIndex"  class="data-searchtxt-time" value="<s:property value="bookOrderInfo.orderByInfo.innerIndex"/>">
	                        <s:iterator value="orderByList"  status="s">
		                         <option value="<s:property value="innerIndex"/>"><s:property value="orderByName"/></option>
	                        </s:iterator>
                   </select>
                </td>
              </tr>
              <tr>
                <td align="right">客人姓名：</td>
                <td><span style="padding:0px">
                  <input name="bookOrderInfo.customerName" type="text" class="data-searchtxt-runtime validate[required, custom[chAndEnChar]] text-input" id="bookOrderInfo.customerName" size="10" />
                  <font color="red">*</font>
                  </span></td>
              </tr>
              <tr>
                <td align="right">会员卡号：</td>
                <td><span style="padding:0px">
                  <input name="bookOrderInfo.customerInfo.custName" type="text" class="data-searchtxt-runtime validate[custom[phone]] text-input"id="bookOrderInfo.customerInfo.custName" size="15" />
                  </span></td>
              </tr>
              <tr>
                <td align="right">联系手机：</td>
                <td><span style="padding:0px">
                  <input name="bookOrderInfo.tel" type="text" class="data-searchtxt-runtime validate[required, custom[phone]] text-input"id="bookOrderInfo.tel" size="15" />
                  <font color="red">*</font>
                  </span></td>
              </tr>
               <tr>
                <td align="right">支付方式：</td>
                <td>
                  <select name="bookOrderInfo.paymentMethodsInfo.innerIndex" class="data-searchtxt-select" id="paymentMethodsInfoId" >
                    <s:iterator value="paymentMethodsList"  status="p">
		                <option value="<s:property value="innerIndex"/>"><s:property value="paymentName"/></option>
	                 </s:iterator>
                  </select>
                 </td>
              </tr>
              <tr>
                <td align="right">付费状态：</td>
                <td>
                  <select name="bookOrderInfo.payStatus" class="data-searchtxt-select" id="bookOrderInfo.payStatus" >
                    <option value="0">未付费</option>
                    <option value="1">已付费</option>
                  </select>
                 </td>
              </tr>
              <tr>
                <td align="right">最长保留时常：</td>
                <td><table border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td style="padding:0px"><input name="textfield13" type="text" class="data-searchtxt-runtime"id="textfield13" /></td>
                      <td>时</td>
                    </tr>
                  </table></td>
              </tr>
              <tr>
                <td align="right">备注：</td>
                <td><span style="padding:0px">
                  <textarea name="bookOrderInfo.description" cols="40" rows="4" class="data-searchtxt_textarea" id="bookOrderInfo.description"></textarea>
                  </span></td>
              </tr>
              <!--tr>
                <td align="right">操作员：</td>
                <td>@#$%^&amp;*</td>
              </tr>-->
              <tr>
                <td align="right">&nbsp;</td>
                <td><input name="button2" type="submit" class="btn-Yes" id="button2"   value="确  定">
                <input name="button4" type="submit" class="btn-Yes" id="button4"  value="取  消"></td>
              </tr>
            </table>
          </div>
        </fieldset>
        </form>
      </div>
    </div>
  


  </body>
</html>
